package cn.csust.net2.manager.shared.po;

import java.io.Serializable;
import java.util.Date;

import cn.csust.net2.manager.shared.vo.UserProperty;
import cn.csust.net2.manager.shared.xml.XmlInfo;
import cn.csust.net2.manager.shared.xml.XmlResources;

import com.extjs.gxt.ui.client.data.BeanModelTag;

public class Graduate extends PO implements Serializable,BeanModelTag, UserProperty {

	/**
	 * 
	 */
	private static final long serialVersionUID = -6411868093038968134L;

	private Integer graduateID;
	private String workUnit; 
	private String workUnitAddress; 
	private String workUnitTelephone; 
	private Date leaveDate; 
	private String remark; 
	
	private User user;
	
	public Graduate() {
		
	}
	public Integer getGraduateID() {
		return graduateID;
	}

	public void setGraduateID(Integer graduateID) {
		this.graduateID = graduateID;
	}

	public String getWorkUnit() {
		return workUnit;
	}

	public void setWorkUnit(String workUnit) {
		this.workUnit = workUnit;
	}

	public String getWorkUnitAddress() {
		return workUnitAddress;
	}

	public void setWorkUnitAddress(String workUnitAddress) {
		this.workUnitAddress = workUnitAddress;
	}

	public String getWorkUnitTelephone() {
		return workUnitTelephone;
	}

	public void setWorkUnitTelephone(String workUnitTelephone) {
		this.workUnitTelephone = workUnitTelephone;
	}

	public Date getLeaveDate() {
		return leaveDate;
	}

	public void setLeaveDate(Date leaveDate) {
		this.leaveDate = leaveDate;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public User getUser() {
		return user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	@Override
	public XmlInfo getXmlInfo(XmlResources instance) {
		// TODO Auto-generated method stub
		XmlInfo xmlInfo = new XmlInfo();
		xmlInfo.setTextResource(instance.graduate());
		return xmlInfo;
	}
	@Override
	public String getDisplayName() {
		// TODO Auto-generated method stub
		return null;
	}

}
